package com.example.demo.mapper;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ButtonMapper {
    List<Map<String, Object>> getAllButton(Map<String, Object> params);

    int getButtonCount();

    void insertButton(Map<String, Object> params);

    void insertRoleButton(Map<String, Object> params);

    void deleteRoleButton(Map<String, Object> params);

    List<Map<String, Object>> getRoleButton(Map<String, Object> params);

    List<String> getUserButton(Map<String, Object> params);
}
